<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
> DESCRIPTION </TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE=" warc-tools version 0.17  A library for data archiving "
HREF="index.html"><LINK
REL="UP"
TITLE=" How to use warc-tools"
HREF="c16.html"><LINK
REL="PREVIOUS"
TITLE=" SYNOPSIS "
HREF="x39.html"><LINK
REL="NEXT"
TITLE=" OPTIONS "
HREF="x91.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>warc-tools version 0.17  A library for data archiving</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x39.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. How to use warc-tools</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x91.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN59"
>2.3. DESCRIPTION</A
></H1
><P
>&#13;<P
CLASS="literallayout"
>&nbsp;<br>
<B
CLASS="command"
>warcdump</B
>&nbsp;:&nbsp;&nbsp;lists&nbsp;&nbsp;the&nbsp;header's&nbsp;fields&nbsp;of&nbsp;all&nbsp;WARC&nbsp;Records&nbsp;in&nbsp;a&nbsp;WARC&nbsp;file.&nbsp;&nbsp;<br>
</P
> 
        warcdump looks down the records of WARC file one by one, extracts header fields of
        the current record and displays their values in the screen.
        </P
><P
>&#13;<P
CLASS="literallayout"
><br>
<B
CLASS="command"
>arc2warc</B
>&nbsp;:&nbsp;converts&nbsp;an&nbsp;ARC&nbsp;file&nbsp;into&nbsp;a&nbsp;WARC&nbsp;file.<br>
</P
>  
        arc2warc creates a new WARC file initially empty,  looks down the records of the ARC file one
        by one, extracts  current ARC record, converts it into a WARC
        Record and stores this last one in a WARC file.
        </P
><P
>&#13;        <B
CLASS="command"
>arc2warc.sh</B
> : converts all ARC files into WARC files in a directory by calling the arc2warc command
        described previously for each ARC file in the current directory.
        </P
><P
>&#13;        <B
CLASS="command"
>warcfilter</B
> : lists like warcdump the headers fields of WARC Records present in a WARC
        file but only those that are corresponding to the filter value. The filter can be used on the WARC-Subject-Uri field (if existing),
		on the Content-Type field or on the WARC-Type field.
        </P
><P
>&#13;        <B
CLASS="command"
>warcvalidator</B
> : checks  if a WARC file is valid or not. A WARC file must follow a
        specific grammar. This grammar can be found the following address :
        <A
HREF="http://www.digitalpreservation.gov/formats/fdd/fdd000236.shtml"
TARGET="_top"
>http://www.digitalpreservation.gov/formats/fdd/fdd000236.shtml</A
>
        </P
><P
>&#13;        <B
CLASS="command"
>warcvalidator.sh</B
> : checks if all WARC files in a directory are valid or not. It
        calls the warcvalidator command described previously for each WARC file in the directory.
        </P
><P
>&#13;        <B
CLASS="command"
>warcserver</B
> : a WARC server that allows to satisfy requests on WARC files contained on a specific directory. 
		there are four kinds of requests:
		<P
></P
><UL
><LI
><P
> A whole WARC file transfer request. </P
></LI
><LI
><P
> A lonely WARC Record transfer request. </P
></LI
><LI
><P
> A filtered WARC file transfer request.</P
></LI
><LI
><P
> A WARC file Records headers listing request.</P
></LI
></UL
>
        </P
><P
>&#13;        <B
CLASS="command"
>warcclient</B
> : allows to send request to a server for claiming warc resources.  You
        can make request  to  the WARC server described above or to Apache or lighttpd server
		but you must check that mod_apache or mod_lighttpd are correctly configured in server machine.
		Read the <TT
CLASS="filename"
>"/doc/install"</TT
> for more details
        </P
><P
></P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x39.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x91.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>SYNOPSIS</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="c16.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>OPTIONS</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>